package com.gxa.scdx.cloud.user.pojo;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
//权限表
//@author 颜可翔

@ApiModel(value = "Role", description = "权限表")
public class Role implements Serializable {
    private static final long serialVersionUID = 562511054732482899L;

    public Role() {
        System.out.println("Role对象初始化");
    }

    /**
     * 权限表主键id
     */
    @ApiModelProperty(name = "id", notes = "权限表主键id", dataType = "Integer", required = true)
    private Integer id;
    /**
     * 权限名称
     */
    @ApiModelProperty(name = "roleName", notes = "权限名称", dataType = "String", required = true)
    private String roleName;
    /**
     * 权限值
     */
    @ApiModelProperty(name = "roleAuth", notes = "权限值", dataType = "Integer", required = true)
    private Integer roleAuth;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Integer getRoleAuth() {
        return roleAuth;
    }

    public void setRoleAuth(Integer roleAuth) {
        this.roleAuth = roleAuth;
    }

}